<h1>{$msg},jump in 3s</h1>
<script>
window.setTimeout("window.location.href='{$href}'" ,3000);
</script>